package sysprovas.swing;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JComboBox;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JTextArea;

public class PanelQuestao extends JPanel {

	/**
	 * Create the panel.
	 */
	public PanelQuestao() {
		setLayout(null);
		
		JLabel lblQuestao = new JLabel("Quest\u00E3o");
		lblQuestao.setFont(new Font("Tahoma", Font.PLAIN, 20));
		lblQuestao.setBounds(244, 13, 92, 28);
		add(lblQuestao);
		
		JLabel lblTopicoQuest = new JLabel("T\u00F3pico:");
		lblTopicoQuest.setFont(new Font("Tahoma", Font.PLAIN, 15));
		lblTopicoQuest.setBounds(104, 103, 55, 20);
		add(lblTopicoQuest);
		
		JComboBox cbTopicoQuest = new JComboBox();
		cbTopicoQuest.setModel(new DefaultComboBoxModel(new String[] {"IP", "M\u00E1scara de Redes", "IP Est\u00E1tico"}));
		cbTopicoQuest.setBounds(179, 103, 302, 22);
		add(cbTopicoQuest);
		
		JLabel lblTipoQuest = new JLabel("Tipo:");
		lblTipoQuest.setFont(new Font("Tahoma", Font.PLAIN, 15));
		lblTipoQuest.setBounds(104, 136, 55, 20);
		add(lblTipoQuest);
		
		JLabel label = new JLabel("Disciplina:");
		label.setFont(new Font("Tahoma", Font.PLAIN, 15));
		label.setBounds(104, 74, 72, 16);
		add(label);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setModel(new DefaultComboBoxModel(new String[] {"Redes I", "Redes II", "Sistemas Distribu\u00EDdos"}));
		comboBox.setBounds(179, 72, 302, 22);
		add(comboBox);
		
		JButton btnSalvarQuest = new JButton("Salvar");
		btnSalvarQuest.setBounds(249, 289, 97, 25);
		add(btnSalvarQuest);
		
		JComboBox comboBox_1 = new JComboBox();
		comboBox_1.setModel(new DefaultComboBoxModel(new String[] {"Objetiva", "Subjetiva"}));
		comboBox_1.setBounds(179, 134, 112, 22);
		add(comboBox_1);
		
		JLabel lblDisciplinaQuest = new JLabel("Enunciado:");
		lblDisciplinaQuest.setFont(new Font("Tahoma", Font.PLAIN, 15));
		lblDisciplinaQuest.setBounds(104, 167, 72, 16);
		add(lblDisciplinaQuest);
		
		JTextArea textArea = new JTextArea();
		textArea.setLineWrap(true);
		textArea.setBounds(179, 169, 302, 88);
		add(textArea);

	}

}
